home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
ctags.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
10KB
|
199 lines
eeeettttaaaaggggssss((((1111)))) GGGGNNNNUUUU TTTToooooooollllssss ((((11110000ffffeeeebbbb1111999999992222)))) eeeettttaaaaggggssss((((1111))))
NNNNAAAAMMMMEEEE
etags -- generate tag file for Emacs
ctags -- generate tag file for vi
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
eeeettttaaaaggggssss [[[[----CCCCDDDDSSSSTTTTVVVVHHHHaaaaddddtttt]]]] [[[[----iiii _f_i_l_e]]]] [[[[----oooo _o_u_t_f_i_l_e]]]]
[--defines] [--no-defines] [--c++] [--typedefs]
[--typedefs-and-c++] [--ignore-indentation]
[--help] [--version]
[--include=_f_i_l_e] [--output=_o_u_t_f_i_l_e] [--append] _f_i_l_e ...
ccccttttaaaaggggssss [[[[----CCCCDDDDSSSSTTTTVVVVHHHHaaaaddddtttt]]]] [[[[----BBBBFFFFuuuuvvvvwwwwxxxx]]]] [[[[----oooo _o_u_t_f_i_l_e]]]]
[--defines] [--no-defines] [--c++] [--typedefs]
[--typedefs-and-c++] [--ignore-indentation] [--no-warn]
[--backward-search] [--forward-search] [--vgrind] [--cxref]
[--help] [--version]
[--output=_o_u_t_f_i_l_e] [--append] [--update] _f_i_l_e ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The `eeeettttaaaaggggssss' program is used to create a tag table file, in a
format understood by eeeemmmmaaaaccccssss(1111); the `ccccttttaaaaggggssss' program is used
to create a similar table in a format understood by vvvviiii(1111).
Both forms of the program understand the syntax of C, For-
tran, LaTeX, Scheme and Emacs Lisp/Common Lisp. Both forms
read the files specified on the command line, and write a
tag table (defaults: `TAGS' for eeeettttaaaaggggssss, `tags' for ccccttttaaaaggggssss) in
the current working directory. The programs recognize the
language used in an input file based on its file name and
contents; there are no switches for specifying the language.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
Some options make sense only for vvvviiii style tag files; eeeettttaaaaggggssss
does not recognize them. The programs accept unambiguous
abbreviations for long option names.
----dddd,,,, --------ddddeeeeffffiiiinnnneeeessss
Create tag entries for C preprocessor definitions, too.
This is the default behavior for -Betags.
----DDDD,,,, --------nnnnoooo----ddddeeeeffffiiiinnnneeeessss
Do not create tag entries for C preprocessor defini-
tions. This is the default behavior for -Bctags.
----CCCC,,,, --------cccc++++++++
Treat files with `.c' and `.h' extensions as C++ code,
not C code. Files with `.C', `.H', `.cxx', `.hxx', or
`.cc' extensions are always assumed to be C++ code.
----tttt,,,, --------ttttyyyyppppeeeeddddeeeeffffssss
Record typedefs in C code as tags.
----TTTT,,,, --------ttttyyyyppppeeeeddddeeeeffffssss----aaaannnndddd----cccc++++++++
Page 1 (printed 7/7/94)
eeeettttaaaaggggssss((((1111)))) GGGGNNNNUUUU TTTToooooooollllssss ((((11110000ffffeeeebbbb1111999999992222)))) eeeettttaaaaggggssss((((1111))))
Generate tag entries for typedefs, struct, enum, and
union tags, and C++ member functions.
----SSSS,,,, --------iiiiggggnnnnoooorrrreeee----iiiinnnnddddeeeennnnttttaaaattttiiiioooonnnn
Don't rely on indentation as much as we normally do.
Currently, this means not to assume that a closing
brace in the first column is the final brace of a func-
tion or structure definition.
----wwww,,,, --------nnnnoooo----wwwwaaaarrrrnnnn
Suppress warning messages about duplicate entries. The
eeeettttaaaaggggssss program does not check for duplicate entries, so
this option has no effect on it.
----BBBB,,,, --------bbbbaaaacccckkkkwwwwaaaarrrrdddd----sssseeeeaaaarrrrcccchhhh
Tag files written in the format expected by vvvviiii contain
regular expression search instructions; the ----BBBB option
writes them using the delimiter `????', to search _b_a_c_k_-
_w_a_r_d_s through files. Only ccccttttaaaaggggssss accepts this option.
----FFFF,,,, --------ffffoooorrrrwwwwaaaarrrrdddd----sssseeeeaaaarrrrcccchhhh
Tag files written in the format expected by vvvviiii contain
regular expression search instructions; the ----FFFF option
writes them using the delimiter `////', to search _f_o_r_w_a_r_d_s
through files. Only ccccttttaaaaggggssss accepts this option; it is
the default behavior.
----vvvv,,,, --------vvvvggggrrrriiiinnnndddd
Instead of generating a tag file, write index (in
vvvvggggrrrriiiinnnndddd format) to standard output. Only ccccttttaaaaggggssss accepts
this option.
----xxxx,,,, --------ccccxxxxrrrreeeeffff
Instead of generating a tag file, write a cross refer-
ence (in ccccxxxxrrrreeeeffff format) to standard output. Only ccccttttaaaaggggssss
accepts this option.
----HHHH,,,, --------hhhheeeellllpppp
Print usage information.
----VVVV,,,, --------vvvveeeerrrrssssiiiioooonnnn
Print the current version of the program.
----iiii _f_i_l_e, --------iiiinnnncccclllluuuuddddeeee====_f_i_l_e
Include a note in tag file indicating that, when
searching for a tag, one should also consult the tags
file _f_i_l_e after checking the current file. Only eeeettttaaaaggggssss
accepts this option.
----oooo _o_u_t_f_i_l_e, --------oooouuuuttttppppuuuutttt====_o_u_t_f_i_l_e
Explicit name of file for tag table; overrides default
`TAGS' or `tags'. (But ignored with ----vvvv or ----xxxx.)
Page 2 (printed 7/7/94)
eeeettttaaaaggggssss((((1111)))) GGGGNNNNUUUU TTTToooooooollllssss ((((11110000ffffeeeebbbb1111999999992222)))) eeeettttaaaaggggssss((((1111))))
----aaaa,,,, --------aaaappppppppeeeennnndddd
Append to existing tag file. (For vi-format tag files,
see also --------uuuuppppddddaaaatttteeee.)
----uuuu,,,, --------uuuuppppddddaaaatttteeee
Update tag entries for _f_i_l_e_s specified on command line,
leaving tag entries for other files in place. Current-
ly, this is implemented by deleting the existing en-
tries for the given files and then rewriting the new
entries at the end of the tags file. It is often fas-
ter to simply rebuild the entire tag file than to use
this. (Implies vi-format tag file.)
SSSSEEEEEEEE AAAALLLLSSSSOOOO
`eeeemmmmaaaaccccssss' entry in iiiinnnnffffoooo; _G_N_U _E_m_a_c_s _M_a_n_u_a_l, Richard Stallman.
ccccxxxxrrrreeeeffff(1111), eeeemmmmaaaaccccssss(1111), vvvvggggrrrriiiinnnndddd(1111), vvvviiii(1111).
CCCCOOOOPPPPYYYYIIIINNNNGGGG
Copyright (c) 1992 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies
of this manual provided the copyright notice and this per-
mission notice are preserved on all copies.
Permission is granted to copy and distribute modified ver-
sions of this manual under the conditions for verbatim copy-
ing, provided that the entire resulting derived work is dis-
tributed under the terms of a permission notice identical to
this one.
Permission is granted to copy and distribute translations of
this manual into another language, under the above condi-
tions for modified versions, except that this permission no-
tice may be included in translations approved by the Free
Software Foundation instead of in the original English.
Page 3 (printed 7/7/94)